/**
 * Project: ServletDemo
 * File Created at 2012-8-29下午11:34:00
 */
package demo.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 
 * @author Administrator
 * 2012-8-29下午11:34:00
 */
public class SayHiServlet extends HttpServlet{

    /**   **/
    private static final long serialVersionUID = -8734766177506359542L;

    @Override
    protected void service(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {
        System.out.println("===>>SayHiServlet.java 被调用");
        res.getWriter().println("Hi World!");
        System.out.println("\n\n\n");
    }
}
